home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Gold 2
/
Shareware Gold II - Volume 2 Number 1 - Wayzata Technology (7071) (1991).iso
/
finance
/
cashctrl
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1990-08-01
|
1KB
|
63 lines
ECHO OFF
CLS
if %1 == a: goto IMSG
if %1 == b: goto IMSG
if %1 == c: goto IMSG
if %1 == d: goto IMSG
if %1 == A: goto IMSG
if %1 == B: goto IMSG
if %1 == C: goto IMSG
if %1 == D: goto IMSG
ECHO .
ECHO Enter "install d:" where d is the desired disk drive. PAUSE Example, Use "INSTALL c:"
PAUSE
goto IEXIT
:IMSG
ECHO Installing Cash Control on disk drive %1
ECHO .
ECHO (Press Ctrl+Break to Quit)
ECHO .
PAUSE
ECHO .
ECHO .
if %1 == a: goto DISKETTE
if %1 == b: goto DISKETTE
if %1 == A: goto DISKETTE
if %1 == B: goto DISKETTE
ECHO ON
md %1\cashc
copy cashc.exe %1\cashc\*.*
copy cashc.ovr %1\cashc\*.*
copy cashc.pro %1\cashc\*.*
copy cashc.hlp %1\cashc\*.*
copy sample.ato %1\cashc\*.*
copy sample90.acc %1\cashc\*.*
copy readme %1\cashc\*.*
copy cga.bgi %1\cashc\*.*
if not exist %1\cashc\cashc.cod copy cashc.cod %1\cashc\*.*
ECHO OFF
goto FINISH
:DISKETTE
ECHO ON
copy cashc.exe %1\*.*
copy cashc.ovr %1\*.*
copy cashc.pro %1\*.*
copy cashc.hlp %1\*.*
copy cashc.doc %1\*.*
copy sample.ato %1\*.*
copy sample90.acc %1\*.*
copy readme %1\*.*
copy cga.bgi %1\*.*
if not exist %1\cashc.cod copy cashc.cod %1\*.*
ECHO OFF
:FINISH
CLS
ECHO Cash Control is INSTALLED
ECHO .
ECHO .
:IEXIT